﻿using FreeSql.DataAnnotations;
using ManaSky.DBCore.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace ManaSky.Entity.Manage
{
    /// <summary>
    /// 用户角色关联表
    /// </summary>
    [Description("用户角色关联表"), Table(Name = "sys_user_role")]
    public class sys_user_role : BaseEntity
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Column(Name = "user_id")]
        public int UserId { get; set; } = 0;
        /// <summary>
        /// 角色ID
        /// </summary>
        [Column(Name = "role_id")]
        public int RoleId { get; set; } = 0;
    }
}
